package com.stedu.mall.adminservice.mapper;

import com.stedu.mall.common.bean.Admin;

import java.util.List;

public interface AdminMapper {
    Admin selectByUsername(String username);

    Admin selectById(Integer id);

    int update(Admin admin);

    //查询所有管理员
    List<Admin> selectByAll(Admin admin);

    void updateS(Admin admin);
}
